package com.cloud.school.app.entity;

import javax.persistence.*;

@Table(name = "tb_chat_room")
public class TbChatRoom {
    @Id
    @Column(name = "id")
    private Long id;

    /**
     * 群组名
     */
    @Column(name = "name")
    private String name;

    /**
     * 群组简介
     */
    @Column(name = "summary")
    private String summary;

    @Column(name = "create_uid")
    private Long createUid;

    @Column(name = "create_time")
    private Long createTime;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取群组名
     *
     * @return name - 群组名
     */
    public String getName() {
        return name;
    }

    /**
     * 设置群组名
     *
     * @param name 群组名
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取群组简介
     *
     * @return summary - 群组简介
     */
    public String getSummary() {
        return summary;
    }

    /**
     * 设置群组简介
     *
     * @param summary 群组简介
     */
    public void setSummary(String summary) {
        this.summary = summary;
    }

    /**
     * @return create_uid
     */
    public Long getCreateUid() {
        return createUid;
    }

    /**
     * @param createUid
     */
    public void setCreateUid(Long createUid) {
        this.createUid = createUid;
    }

    /**
     * @return create_time
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
}